/**
 * @Auto generation code
 * Register Controller
 */
import request from '../common/request/request.js'

/**
 * 
 * path, params, loading
 * getPhoneCode - GET
 */
export const getPhoneCode = async ({// query params
		phone   // phone ,必填 
	
}, loading) => {
	return await request.get('/code', {
		 phone, 
	}, loading)
}


/**
 * 
 * path, params, body, loading
 * getPhoneCode - POST
 */
export const getPhoneCode = async ({// query params
		phone   // phone ,必填 
	
}, loading) => {
	return await request.post('/code', {
		 phone, 
	}, {
		
	}, loading)
}


/**
 * 
 * path, params, body, loading
 * 客户注册 - POST
 */
export const customRegister = async (loading) => {
	return await request.post('/customer/register', {
		
	}, {
		
	}, loading)
}

